/*
 * @Descripttion: 客户的跳转
 * @version:
 * @Author: cxguo
 * @Date: 2019-08-16 09:17:57
 * @LastEditors: cxguo
 * @LastEditTime: 2019-10-15 14:50:42
 */
export default {
  data() {
    return {}
  },
  methods: {
    jump2saleSoldDetail({ salesoldId }) {
      if (salesoldId) this.$router.push({ name: 'SaleSold', query: { salesoldId: salesoldId }})
      else this.$router.push({ name: 'SaleSold' })
    },
    jump2saleReturnDetail({ salereturnId }) {
      if (salereturnId) this.$router.push({ name: 'SaleReturn', query: { salereturnId: salereturnId }})
      else this.$router.push({ name: 'SaleReturn' })
    }
  }
}

